package logbuffmng

import (
	. "starsine.cn/appTpl/cmn/defs"
	"starsine.cn/appTpl/cmn/logs"
	"starsine.cn/appTpl/svclog/src/logproc/logbuff"
)

var logBuffMng *LogBuffMng = nil

func Start(appCtxt *AppContext) {
	logBuffMng = CreateFeLogBuffMng(appCtxt)
	logBuffMng.Start()

	logs.Infof("logbuffmng start")
}

func Get(k string) *logbuff.LogBUff {
	return logBuffMng.Get(k)
}
